package com.huixuebao.consumer.controller;

import com.huixuebao.common.bean.ResponseData;
import com.huixuebao.consumer.service.rpc.InsureService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 商户操作接口
 *
 * @author yufatao
 * @version 1.0
 * @date 2020-10-31 21:51
 */
@Slf4j
@RestController
@RequestMapping("/hxb")
public class MerchantController {

    @Autowired
    InsureService insureService;
    @RequestMapping("/merchant/list")
    public ResponseData listMerchant() {
       return insureService.listMerchant();
    }
}